
import 'package:flutter/widgets.dart';
import 'package:myturngame/bean/skill/skill.dart';
import 'package:myturngame/common/game_global.dart';

class SelectSkillChangeNotifier extends ChangeNotifier{

  Skill? get selectSkill => GameGlobal.selectSkill;

  set selectSkill(Skill? skill){
    debugPrint("选择技能更新:${skill?.name}");
    GameGlobal.selectSkill = skill;
    notifyListeners();
  }

}